from selenium.webdriver.common.by import By

from common.base import Base


class BackLoginPage(Base):
    login_url = 'http://139.129.26.163/admin'

    def back_input_username(self):
        self.base_send_keys((By.NAME, 'username'), 'admin')

    def back_input_password(self):
        self.base_send_keys((By.NAME, 'password'), 'admin123456')

    def back_remeber(self):
        self.base_click((By.CLASS_NAME, 'btn-a'))
